package com.iss.ljx.user.service;

import com.iss.ljx.mybatis.entity.PtUserEntity;
import com.iss.ljx.mybatis.flexigrid.PadingRstType;
import com.iss.ljx.mybatis.flexigrid.PagingBean;
import com.iss.ljx.mybatis.ztree.ZtreeEntity;
import com.iss.ljx.user.entity.SearchUserEntity;

import java.util.List;

/**
 * @author 流星
 */
public interface UserService {
    List<PtUserEntity> queryUserListByName(SearchUserEntity search);
    boolean deleteUserInfoById(String ids);
    PadingRstType<PtUserEntity> getUserInfolistByPage(SearchUserEntity search, PagingBean paging);
    List<ZtreeEntity> getRoleZtreeListByUserId(String userUuid);

    void allocateRoleByUser(String userUuid, String roleArray);

    void insertUser(PtUserEntity ptUser);

    boolean updateUser(PtUserEntity ptUser);
}
